package com.codinghero.zqlb.weibo.sina.driver;

import java.util.HashMap;
import java.util.Map;

import com.codinghero.sae.SaeHttpUtils;
import com.codinghero.zqlb.weibo.ConstantWeibo;

public class SaeBasicAuthWeiboDriver {
	public void post(String weiboDes) {
		Map<String, String> parameters = new HashMap<String, String>();
		parameters.put("status", weiboDes);
		SaeHttpUtils.postBasicAuth("http", "api.weibo.com", 80,
				"/2/statuses/update.json?source=655878626",
				ConstantWeibo.Sina.USER_NAME, ConstantWeibo.Sina.PASSWORD,
				parameters);
	}
}
